jQuery(window).load(function() { jQuery('.socialNetworkTwitter').show(); if( jQuery('.socialNetworkHolder').length > 0) { jQuery('.socialNetworkHolder').tabs(); }; if (jQuery.browser.webkit){ sameHeight(jQuery(".SameHeightHolder")); childSameHeight(jQuery(".childSameHeightHolder")); } }); jQuery(document).ready(function() { var $actionLink = jQuery('.sWebTheme_showSettings'); $actionLink.click( function() { jQuery('.sWebTheme_Actions').slideToggle(300, changeText); }); function changeText(){ if(!jQuery('.sWebTheme_Actions').is(":visible")){ $actionLink.text('Show Settings'); $actionLink.removeClass('expandedSettings'); createCookie("HomeOptionIsHidden", "true", 1); } else { $actionLink.text('Hide Settings'); $actionLink.addClass('expandedSettings'); eraseCookie("HomeOptionIsHidden"); } } if (!jQuery.browser.webkit){ sameHeight(jQuery(".SameHeightHolder")); childSameHeight(jQuery(".childSameHeightHolder")); } if ( $.browser.msie && jQuery(".sWebTheme_ActionsHolder:visible").length > 0 ){ var calcWidth = 0; jQuery(".sWebTheme_ActionsHolder").children().each( function(){ if( jQuery(this).hasClass("clear-both") ) return; calcWidth = calcWidth + jQuery(this).innerWidth() + parseInt(jQuery(this).css("margin-right")) + parseInt(jQuery(this).css("margin-left")); }); if ( calcWidth > jQuery(".sWebTheme_Actions").width() ){ jQuery(".sWebTheme_ActionsHolder").width(jQuery(".sWebTheme_Actions").width()); } else { jQuery(".sWebTheme_ActionsHolder").width(calcWidth).css({"margin":"auto"}); } } }); function sameHeight(element){ jQuery(element).each(function() { var height = 0; jQuery(".SameHeight", this).each(function() { var $this = jQuery(this); if ($this.height() > height) height = $this.height(); }).css("height", height); }); } function childSameHeight(element){ jQuery(element).each(function() { var height = 0; jQuery(".childSameHeight", this).each(function() { var $this = jQuery(this); if ($this.height() > height) height = $this.height(); }).css("height", height); }); } //creating completed popup jQuery(document).ready(function(){ var warning = jQuery(".hasWarning"); if ( warning.length > 0 ){ warning.each(function(){ var $this = jQuery(this); $this.css({"position":"relative", "z-index": 1}); $this.append('
'+ '
' + $this.attr("data-errorMessage") + '
'); $this.hoverIntent({ sensitivity: 2, interval: 100, timeout: 100, over: function() { var callOutPosition = jQuery(this).find(".calloutText").width() / 2; jQuery(this).css({"z-index": 999}); jQuery(this).find("img.warningIcon").hide($.browser.msie? "fast" : "slow"); jQuery(this).find(".calloutText").show($.browser.msie? "fast" : "slow"); jQuery(this).find(".callout").animate({"top": "-36px", "right" : "-" + callOutPosition + "px" }); }, out: function() { jQuery(this).find("img.warningIcon").show("fast" ); jQuery(this).find(".calloutText").hide("slow"); jQuery(this).find(".callout").animate({"top": "-16px", "right" : "0px" }); jQuery(this).css({"z-index": 1}); } }); }); } var skinStatusWrapper = jQuery(".skinStatus-Wrapper"); if ( skinStatusWrapper.length > 0 ){ var skinStatus = jQuery(".skinStatus"); var dataStatus = ( skinStatus.attr("data-skin-status") / 100) * 24; skinStatus.css({"height": dataStatus + "px"}); skinStatusWrapper.hoverIntent({ sensitivity: 2, interval: 100, timeout: 100, over: function() { jQuery(".skinStatus-Detail").css({"visibility":"hidden", "display":"block"}); if ( jQuery(".skinStatus-Detail").offset().left < 0 ){ jQuery(".skinStatus-Detail").css({"left":"0"}); jQuery(".skinStatus-CallOut").css({"left":"32px", "right": "auto"}); } jQuery(".skinStatus-Detail").css({"visibility":"visible", "display":"none"}); jQuery(".skinStatus-Detail", this).slideToggle() }, out: function() { jQuery(".skinStatus-Detail", this).slideToggle() } }) } var $actions = jQuery(".sWebTheme_ActionsLinks"); var $ul = jQuery("